package com.baosight.sczx.common.zp;

import com.baosight.iplat4j.core.ei.EiInfo;

public class ResultEiInfo 
{
	public static EiInfo fail( String msg )
	{
		EiInfo info = new EiInfo();
		info.setStatus( -1 );
		info.setMsg( msg );
		return info;
	}
	
	public static EiInfo success( String msg )
	{
		EiInfo info = new EiInfo();
		info.setStatus( 1 );
		info.setMsg( msg );
		return info;
	}
}
